home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
misc
/
math
/
MathFX_src.lha
/
movwor.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-20
|
333b
|
22 lines
/* MOVE AND DRAW ROUTINES IN WORLD COORDINATES */
/* Move to world coordinates (x,y) */
#include "mathfx.h"
void movwor(x,y)
float x,y;
{
scurr(wcpcx(x),wcpcy(y));
}
/* Draws to world coordinates (x,y) */
void drawor(x,y)
float x,y;
{
int currx, curry;
gcurr(&currx,&curry);
fxlclp(currx,curry,wcpcx(x),wcpcy(y));
}